<script src="template/scripts/func_addrecord.js" type="text/javascript"></script>
<style type="text/css">
.addrecordtd{ width:100%px}
.hideTd{display:none}
</style>
<script type="text/javascript">

</script>
<h2>录入成绩</h2>
<div style="display:none">
  <table>
    <tr>
      <td class="addrecordtd">学号：
        <input type="text" id="studentNumber" width="100%" /></td>
      <td class="addrecordtd"><input type="button" id="studentSearch" width="100%" value="查找" onclick="studentSearch_clicked()" /></td>
    </tr>
  </table>
  <table>
    <tr id="message" style="display:none">
      <td><div id="div_message" style="color:#FF0000"></div></td>
    </tr>
  </table>
  <table>
    <tr id="nameAndMail" style="display:none">
      <td class="addrecordtd">姓名：
        <div id='divName'></div></td>
      <td class="addrecordtd">邮箱：
        <div id='divMail'></div></td>
    </tr>
  </table>
</div>
<table><tr><td>
  	科目：</td><td><select id="courseName">
    <option value="yuwen">语文</option>
    <option value="shuxue">数学</option>
    <option value="yingyu">英语</option>
    <option value="wuli">物理</option>
    <option value="huaxue">化学</option>
    <option value="lishi">历史</option>
    <option value="dili">地理</option>
    <option value="shengwu">生物</option>
    <option value="zhengzhi">政治</option>
    <option value="qita">其他</option>
  </select>
  </td></tr>
  <tr>
  
    <td class="addrecordtd">考试：</td><td>
      <input type="text" id="examName" width="100%" /></td>
    <td class="addrecordtd"><input type="button" id="examSearch" width="100%" value="确定" onclick="examSearch_clicked()" /></td>
  </tr>
</table>
<table>
  <tr id="message2" style="display:none">
    <td><div id="div_message2" style="color:#FF0000"></div></td>
  </tr>
</table>
<table>
  <tr id="nameAndCourseHead" style="display:none">
    <td class="addrecordtd" style="width:150px">考试名称：
      </div></td>
    <td class="addrecordtd" style="width:150px">考试科目：
      </div></td>
  </tr>
  <tr id="nameAndCourse" style="display:none">
    <td class="addrecordtd" style="width:150px"><div id='divExamName'></div></td>
    <td class="addrecordtd" style="width:150px"><div id='divExamCouse'></div><div style="display:none" id="divExamCousePYin"></div></td>
  </tr>
</table>

<table id="table_form" class="hideTd">
  <thead>
    <tr>
      <th>姓名</th>
      <th>学号</th>
      <th>成绩</th>
    </tr>
  </thead>
  <tbody>
    <tr id="template" class="hideTd">
      <td id="studentName"><div style="width:70px; overflow:hidden"></div></td>
      <td id="studentNumber"><div style="width:60px; overflow:hidden"></div></td>
      <td id="studentRecord"><input type="text" width="120px"/>
        </div></td>
    </tr>
  </tbody>
</table>
<input id="submit_records" class="hide" style="float:left" type="button" title="保存成绩" value="保存成绩" onclick="saveRecords_clicked()"/>
<div id="div_messageSaveResult" style="color:#FF0000"></div>
